import React from 'react';
import { useState } from 'react';
import { connect, history } from 'umi';
import BackIcon from '@/components/BackIcon';

let Aboutus = (props) => {
  let [height, cheight] = useState(document.body.clientHeight),
    {
      global: { userinfo },
    } = props;

  return (
    <div style={{ width: '100%', height: '100%', overflow: 'hidden' }}>
      <BackIcon></BackIcon>
      <iframe
        src="http://wbnoa.wbnacc.com/#/about"
        frameBorder="0"
        width="100%"
        height={height}
      ></iframe>
    </div>
  );
};
export default connect(({ global, loading }) => ({
  global,
  loading,
}))(Aboutus);
